package Interafce.InterfaceTest1;

public class frog extends Animal implements Swim {
    @Override
    public void eat() {
        System.out.println("青蛙在吃虫子");
    }

    @Override
    public void swim() {
        System.out.println("青蛙在蛙泳");
    }
    public frog(String name,int age){
        super(name, age);
    }
}
